//
//  CTMediator+OldBarGun.h
//  KBMediator_Catrgories
//
//  Created by 肖雄 on 17/5/2.
//  Copyright © 2017年 kuaibao. All rights reserved.
//

#import <KBMediator/CTMediator.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface CTMediator (OldBarGun)

- (UIViewController *)OldBarGun_fatherNavigationControllerWithRootViewContolller:(UIViewController *)controller;

- (UIViewController *)OldBarGun_csCaptureWithMaxCount:(NSInteger)maxCount titles:(nullable NSArray <NSString *> *)titles immediateDismiss:(BOOL)immediateDismiss applyToAll:(BOOL)applyToAll completionHandle:(void(^)(NSArray <UIImage *> * _Nullable images))completionHandle applyToAllHandle:(void(^)(UIImage * _Nullable image))applyToAllHandle;
- (UIViewController *)OldBarGun_csCaptureWithBrand:(nullable NSString *)brand maxCount:(NSInteger)maxCount titles:(nullable NSArray <NSString *> *)titles immediateDismiss:(BOOL)immediateDismiss applyToAll:(BOOL)applyToAll completionHandle:(void(^)(NSArray <UIImage *> * _Nullable images))completionHandle applyToAllHandle:(void(^)(UIImage * _Nullable image))applyToAllHandle;

- (UIViewController *)OldBarGun_troubleEvidenceControllerWithType:(NSInteger)type selectObjects:(nullable NSArray *)selectObjects backCon:(UIViewController *)backCon;
- (UIViewController *)OldBarGun_recordOrdersControllerWithSelectObjects:(nullable NSArray *)selectObjects;
- (UIViewController *)OldBarGun_scanControllerForThreeCodeWithCompletionHandle:(void(^)(NSString * _Nullable code))completionHandle;
- (UIViewController *)OldBarGun_inventControllerWithBackCon:(UIViewController *)backCon;
- (UIViewController *)OldBarGun_webViewControllerWithTitle:(nullable NSString *)title URLString:(NSString *)URLString;

- (UIViewController *)OldBarGun_scanSignWithWaybillNos:(NSArray<NSString *> *)waybillNos backCon:(UIViewController *)backCon;
- (UIViewController *)OldBarGun_markLabelWithWaybillNo:(NSString *)waybillNo name:(NSString *)name mobile:(NSString *)mobile address:(NSString *)address excludedLabels:(NSArray *)excludedLabels;
- (UIViewController *)OldBarGun_dialController;
- (UIViewController *)OldBarGun_packageMapControllerWithData:(NSArray *)data delegate:(id)delegate;
- (UIViewController *)OldBarGun_dispatchPackagesControllerWithDdata:(NSArray *)data;
- (UIViewController *)OldBarGun_deliverySearchControllerWithDelegate:(id)delegate;
- (UIViewController *)OldBarGun_undeliveredControllerWithItems:(NSArray *)items removeItemBlock:(id)removeItemBlock backCon:(UIViewController *)backCon;

- (UIViewController *)OldBarGun_e3ScanSequenceControllerWithE3Type:(NSInteger)e3Type backCon:(UIViewController *)backCon;
- (UIViewController *)OldBarGun_troubleEnrollControllerWithImage:(UIImage *)image;
- (UIViewController *)OldBarGun_e3Upload1Controller;

- (UIViewController *)OldBarGun_ztLoginControllerWithBranchNo:(NSString *)branchNo callBack:(void(^)(BOOL success))callBack;

@end

NS_ASSUME_NONNULL_END
